import service from '@/utils/request'

export const yijianList = (dataForm: any) => {
	return service.get('/govInfo/localStandard/opinion', { params: dataForm })
}

export const lixiangpiwenList = (dataForm: any) => {
	return service.get('/govInfo/standard/approvalFile', { params: dataForm })
}

export const fushenjielunList = (dataForm: any) => {
	return service.get('/govInfo/standard/review', { params: dataForm })
}

export const biaozhunpizhunwenjianList = (dataForm: any) => {
	return service.get('/govInfo/standard/releaseImplementation', { params: dataForm })
}

export const zhuanjiaxinxiList = (dataForm: any) => {
	return service.get('/govInfo/expertInfo', { params: dataForm })
}

export const qianzhanxingList = (dataForm: any) => {
	return service.get('/govInfo/standard/scientificResearch', { params: dataForm })
}

export const yanfachengguoList = (dataForm: any) => {
	return service.get('/govInfo/standard/researchAchievement', { params: dataForm })
}

export const zhengqiuList = (dataForm: any) => {
	return service.get('/govInfo/standard/draft/list', { params: dataForm })
}

export const zhengqiuDetail = (progressId: any) => {
	return service.get('/govInfo/standard/draft/' + progressId)
}

export const SetWenJuanAdd = (dataForm: any) => {
	return service.post('/questionnaire/modify', dataForm)
}

export const SetWenJuanList = (dataForm: any) => {
	return service.get('/questionnaire/list', { params: dataForm })
}

export const SetWenJuanUnPublish = (dataForm: any) => {
	return service.post('/questionnaire/unpublish', dataForm)
}

export const SetWenJuanPublish = (dataForm: any) => {
	return service.post('/questionnaire/publish', dataForm)
}

export const SetWenJuanDel = (mainId: any) => {
	return service.get('/questionnaire/delete/' + mainId)
}

export const replyWenjuanList = (dataForm: any) => {
	return service.post('/questionnaire/reply/list', dataForm)
}

export const replyWenjuan = (dataForm: any) => {
	return service.post('/questionnaire/reply', dataForm)
}
